package com.xmy.cultivate.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.time.LocalDateTime;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * <p>
 * 审核主管设置对应的详情
 * </p>
 *
 * @author hpiggy
 * @since 2025-11-07
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("train_audit_manager_detail")
@ApiModel(value = "TrainAuditManagerDetail对象", description = "审核主管设置对应的详情")
public class TrainAuditManagerDetail implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    @ApiModelProperty("train_audit_manager_set表id")
    private Long auditManagerSetId;

    @ApiModelProperty("科目，多个逗号隔开")
    private String subjectsIdStr;

    @ApiModelProperty("多个逗号隔开")
    private String yearClassIdStr;

    @TableField(fill = FieldFill.INSERT)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createdAt;

    @TableField(exist = false)
    private String subjectsNameStr;

    @TableField(exist = false)
    private String yearClassNameStr;
}
